/*
 * =====================================================================================
 * Copyright (C) 2023 Ingenic Semiconductor Co.,Ltd
 * All Rights Reserved
 *
 * Filename     : serial.h
 * Author       : Keven <keven.ywhan@ingenic.com>
 * Created      : 2024/06/19 11:03
 * Description  :
 *
 * =====================================================================================
 */

#ifndef __SERIAL_H__
#define __SERIAL_H__

int32_t serial_init(int32_t uart_idx);
void serial_putc(int32_t uart_idx, const char c);
void serial_puts(int32_t uart_idx, const char *s);
int32_t serial_getc(int32_t uart_idx);

#endif /* __SERIAL_H__ */

